﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GLImp;
using System.Drawing;
using CastleOfTheDisillusioned.Location.Maps.Prison;

namespace CastleOfTheDisillusioned.Overworld.Tiles {
	class PrisonTile : Tile {
		public PrisonTile(int x, int y) : base(x, y) {
			Map = new PrisonMap();
		}

		public override void Draw() {
			GraphicsManager.DrawRectangle(x * Width, y * Height, Width, Height, Color.LightGray);
			GraphicsManager.DrawRectangle(x * Width + 0.25, y * Height + 0.25, Width/2, Height/2, Color.Gray);
			for (int i = 0; i < 3; i++) {
				GraphicsManager.DrawRectangle((x * Width + 0.25) + 1.0/14 + (i * 2.0/14), y * Height + 0.25 + (1.0/12), Width / 14, Height * 1 / 3, Color.Black);
			}
		}
	}
}
